version = "0.1.0"
dependencies = [
"curl 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc-serialize 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
None => ham::success(),
Some(out) => {
let actual = match str::from_utf8(actual) {
- None => return Err(format!("{} was not utf8 encoded",
+ Err(..) => return Err(format!("{} was not utf8 encoded",
description)),
- Some(actual) => actual,
+ Ok(actual) => actual,
};
// Let's not deal with \r\n vs \n on windows...
let actual = actual.replace("\r", "");
use flate2::CompressionLevel::Default;
use flate2::writer::GzEncoder;
use git2;
-use rustc_serialize::hex::ToHex;
+use serialize::hex::ToHex;
use tar::Archive;
use url::Url;